<!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Fiche clinique</title>

        <?php include('include/include_link22.php'); ?>
    </head>

    <body class="ficheclinique">
        <?php include('include/fixedLeftMenu.php'); ?>

        <?php include('include/variable_session.php'); ?>

        <div class="main_container">
            <div id="wraper">
                <?php include('include/header2.php'); ?> 
                <?php
                foreach ($info as $key => $list) {
                    $id_cli = $list['ID_CLI'];
                    $nom_cli = $list['NOM_CLI'];
                    $addr_cli = $list['ADDR_CLI'];
                    $logo = $list['LOGO'];
                    $partner = $list['PARTNER'];
                    $surface = $list['SURFACE'];
                    $prothese = $list['PROTHESE'];
                    $fauteuil = $list['FAUTEIL'];
                    $scanner = $list['SCANNER'];
                    $nom_url = $list['NOM_URL'];
                    $lg = $_SESSION['lg'];
                    /* pour extraire les données concernant les cliniques */
                }
                
                $id_last_com = $this->mod_fiche_clinique->getIdLastComment($id_cli);
                $last_com = $this->mod_fiche_clinique->getLastComment($id_last_com);
                ?>

                <div class="page sizing">

                    <div class="titre">
                        <h1 class=" pull-left">Clinique Dentaire Magenta <a class="" href="fiche-clinique.html" title="partenaire"><img src="<?php echo base_url(); ?>images/photo/partenaire.png" title="partenaire" alt="walkdentalcare" /></a></h1>

                        <a class="pull-right" href="index.html" title="acceuil"><?php echo $this->lang->line('cl_select'); ?></a>
                        <div class="clear"></div>
                    </div>
                    <?php
                    $active['clinic'] = '';
                    $active['equipe'] = '';
                    $active['tarifs'] = 'class="active"';
                    $active['comment'] = '';
                    $active['contact'] = '';

                    include('include/navigation_bar.php');
                    ?>
                    <h1 class="boot"><?php echo $this->lang->line('cl_traitTarif'); ?></h1>
                    <style type="text/css">
                        .info_bull
                        {
                            width: 470px;
                        }  
                    </style>
                    
                    
                    <?php
                 
                foreach ($typetrait as $key => $list) {
                $lg = $_SESSION['lg'];
                
                $type='type_'.$lg;
                $traitement='trait_'.$lg;
                
                ?>
                    <div class="sizing mod_inscription_clinique pull-left coordonnees tarif info_bull">
                        <h2><span class="title-insript-clinique"><?php echo $list[$type]; ?></span></h2>
                        <ul>
                         <?php 
                         $tarifs_result= $this->mod_fiche_clinique->getTraitTarifs($id_cli, $list['type_id']);
                         foreach ($tarifs_result as $key => $list) { ?> 
                            <li><p><?php echo  $list[$traitement]; ?></p><span><b><?php echo  $list['tarif']; ?></b>€</span></li>
                         <?php } ?>    
                        </ul>            
                    </div>
                 <?php } ?>   
                    
                    
                    
                    <!-- Soins guaraties -->
                    
                    <div class="sizing mod_inscription_clinique pull-left coordonnees tarif info_bull">
                        <h2><span class="title-insript-clinique"><?php echo $this->lang->line('gs_title'); ?></span></h2>
                        <ul>
                            <?php 
                            $garant='garant_'.$lg;
                         foreach ($garanties as $key => $list) { ?> 
                            <li><p><?php echo $list[$garant]; ?></p>
                                <?php if($list['checkbox']==1) {
                                    if($list['duree']==1) {
                                echo '<span class="checkok"></span>';
                                            } else { 
                                 echo '<span class="checkno"></span>';
                                            } 
                                    } else { ?>
                                    <font><?php echo $list['duree'];  ?></font>
                                <?php } ?> 
                                    </li>
                         <?php } ?>
                        </ul>            
                    </div>
                    
                    
                    <!-- Soins guaraties -->
                    
                    <div class="sizing mod_inscription_clinique pull-left coordonnees tarif galerie">
                        <h2><span class="title-insript-clinique"><?php echo $this->lang->line('care_exemples'); ?></span></h2>
                        <div class="caroussel">
                            <div id="wowslider-container1">
                                <div class="ws_images">
                                    <style type="text/css">
                                        .img_gallerie1
                                        {
                                            height: 0px;
                                            width: 10px;
                                        }

                                        .img_gallerie
                                        {
                                            height: 105px;
                                            width: 172px;
                                        }  
                                    </style>
                                    <ul>

                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/0000.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1'/></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/22222.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1' /></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/222222.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1' /></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/33333.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1' /></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/360077.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1' /></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/444444.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1' /></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/55555.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1' /></li>
                                        <li><img src="<?php echo base_url(); ?>fontv22/data1/images/dentist_explain.jpg" alt="Chrysanthemum" title="Chrysanthemum" id="wows1_0" class='img_gallerie1'/></li>

                                    </ul>
                                </div>
                                <div class="ws_thumbs">
                                    <div>

                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/0000.jpg" title="Chrysanthemum">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/0000.jpg" alt="" class='img_gallerie'/></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/22222.jpg" title="Desert">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/22222.jpg" alt=""  class='img_gallerie'/></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/222222.jpg" title="Hydrangeas">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/222222.jpg" alt=""  class='img_gallerie' /></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/33333.jpg" title="Jellyfish">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/33333.jpg" alt=""  class='img_gallerie' /></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/360077.jpg" title="Koala">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/360077.jpg" alt=""  class='img_gallerie' /></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/444444.jpg" title="Lighthouse">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/444444.jpg" alt=""  class='img_gallerie' /></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/55555.jpg" title="Penguins">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/55555.jpg" alt=""  class='img_gallerie' /></a>
                                        <a href="<?php echo base_url(); ?>images/dentalClinicImg/dentist_explain.jpg" title="Tulips">
                                            <img src="<?php echo base_url(); ?>images/dentalClinicImg/dentist_explain.jpg" alt=""  class='img_gallerie' /></a>
                                    </div>

                                </div>
                                <span class="wsl"><a href="http://wowslider.com">slider html</a> by WOWSlider.com v6.6</span>
                                <div class="ws_shadow"></div>
                            </div>
                        </div>          
                    </div>

                    <div class="clear"></div>

                </div>
            </div>
<?php include('include/footer.php'); ?>
        </div>   
        <script type="text/javascript" src="<?php echo base_url(); ?>fontv22/engine1/wowslider.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>fontv22/engine1/script.js"></script>   
    </body>
</html>
